package cn.itsource.order.service;

import cn.itsource.basic.service.IBaseService;
import cn.itsource.basic.util.PageList;
import cn.itsource.order.domain.AdoptOrder;
import cn.itsource.order.query.AdoptOrderQuery;
import cn.itsource.user.domain.LoginInfo;

import java.util.Map;

public interface IAdoptOrderService extends IBaseService<AdoptOrder> {
    String submit(Map<String, Object> params, LoginInfo loginInfo);

    PageList<AdoptOrder> queryUserOrder(AdoptOrderQuery query, LoginInfo loginInfo);

    PageList<AdoptOrder> queryAdminOrder(AdoptOrderQuery query, LoginInfo loginInfo);

    void cancelByQuartz(Long orderId);
}
